Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chore/migrate to ipfs data source #9

Merged
merged 3 commits into from
May 20, 2024

Conversation

Harman-singh-waraich
Copy link

  • Adds file datasource to parse ipfs data.
  • Updates the schema to add CourtMetadata. entity which will store the content from the parsed ipfs file

⚠️ Blocked by migration to Filebase
⚠️ Frontend consuming the subgraph will be affected , will need updated gql queries

type Court @entity {
  id: String!
  timesPerPeriod: [BigInt!]
  hiddenVotes: Boolean
  policy: String
  summary: String
  metadata: CourtMetadata
}

type CourtMetadata @entity{
  id: ID!
  name: String
  description: String
  requiredSkills: String
}

name, description, requiredSkills can be accessed through metadata field in court entity

@Harman-singh-waraich Harman-singh-waraich linked an issue Apr 22, 2024 that may be closed by this pull request
@Harman-singh-waraich Harman-singh-waraich self-assigned this May 1, 2024
@jaybuidl jaybuidl merged commit b0e8b15 into main May 20, 2024
2 checks passed
@jaybuidl jaybuidl deleted the chore/migrate-to-ipfs-data-source branch May 20, 2024 16:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Migrate to an IPFS datasource
2 participants